package com.rectcircle.wechat.msg.vo;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;

import com.rectcircle.wechat.util.CDATAAdapter;

/**
 * 
 * 回复音乐消息是对音乐描述的封装<br>
 * 使用本工具的用户不需要手动创建，供内部使用
 * 
 * @author RectCircle
 * @version 0.1<br>
 * 2016年7月18日-上午12:14:16<br>
 * Copyright (c) 2016 RectCircle-版权所有<br>
 *
 */
@XmlRootElement(name="Music")
@XmlAccessorType(XmlAccessType.FIELD)
public class Music {
	@XmlJavaTypeAdapter(CDATAAdapter.class)
	@XmlElement(name="Title")
	private String Title = null;

	@XmlJavaTypeAdapter(CDATAAdapter.class)
	@XmlElement(name="Description")
	private String Description = null;
	
	@XmlJavaTypeAdapter(CDATAAdapter.class)
	@XmlElement(name="MusicUrl")
	private String MusicUrl = null;
	
	@XmlJavaTypeAdapter(CDATAAdapter.class)
	@XmlElement(name="HQMusicUrl")
	private String HQMusicUrl = null;
	
	@XmlJavaTypeAdapter(CDATAAdapter.class)
	@XmlElement(name="ThumbMediaId")
	private String ThumbMediaId = null;
	
	public Music() {
		
	}

	public Music(String title, String description, String musicUrl, String hQMusicUrl, String thumbMediaId) {
		super();
		Title = title;
		Description = description;
		MusicUrl = musicUrl;
		HQMusicUrl = hQMusicUrl;
		ThumbMediaId = thumbMediaId;
	}

	@Override
	public String toString() {
		return "Music [Title=" + Title + ", Description=" + Description + ", MusicUrl=" + MusicUrl + ", HQMusicUrl="
				+ HQMusicUrl + ", ThumbMediaId=" + ThumbMediaId + "]";
	}

	public String getTitle() {
		return Title;
	}

	public void setTitle(String title) {
		Title = title;
	}

	public String getDescription() {
		return Description;
	}

	public void setDescription(String description) {
		Description = description;
	}

	public String getMusicUrl() {
		return MusicUrl;
	}

	public void setMusicUrl(String musicUrl) {
		MusicUrl = musicUrl;
	}

	public String getHQMusicUrl() {
		return HQMusicUrl;
	}

	public void setHQMusicUrl(String hQMusicUrl) {
		HQMusicUrl = hQMusicUrl;
	}

	public String getThumbMediaId() {
		return ThumbMediaId;
	}

	public void setThumbMediaId(String thumbMediaId) {
		ThumbMediaId = thumbMediaId;
	}

}
